define(function(){
	
	return {
		
		headerHTML:`
		
	<div class="posRoot">
		
		<div class="hfWarp" id="headerWarp1">
			<div class="hfContent" id="navRoot">
				<div id="iconDiv"><a href="#"></a></div>
				<ul>
					<li class="NavLogin"><a href="../loginAndregist/login.html" class="loginA1">登录</a> <a href="#" class="loginA2">注册</a></li>
					<li class="navLine"></li>
					<li class="NavShopCar">
						<a href="#">购物车</a>
						<div class="NSCdisplay">
							<div class="ShopCarGoodsDiv">您的购物车还没有商品</div>
							<a class="robBtn" href="../../pages/shopCar/shopCar.html">快去抢购良仓商品吧！</a>
						</div>
					</li>
					<li class="navLine"></li>
					<li class="NavMessage">
						<a href="#">消息</a>
						<div class="messageListRoot">
							<a class="listRootA1" href="javascript:void(0)">
								<span>动态<small>0</small></span>
							</a>
							<a href="javascript:void(0)">
								<span>评论<small>0</small></span>
							</a>
							<a href="javascript:void(0)">
								<span>私信<small>0</small></span>
							</a>
							<a href="javascript:void(0)">
								<span>粉丝<small>0</small></span>
							</a>
							<a href="javascript:void(0)">
								<span>喜欢<small>0</small></span>
							</a>
							<a href="javascript:void(0)">
								<span>通知<small>0</small></span>
							</a>
						</div>
					</li>
					<li class="navLine"></li>
					<li class="addGoods"><a href="#">添加良品</a></li>
					<li class="addPapers"><a href="">资质证照 / 协议规则</a></li>
				</ul>
			</div>
		</div>
		
		
		<div class="hfWarp" id="headerWarp2">
			<div class="hfContent">
				<ul class="selectRoot">
					<li class="homeTap"><a href="../index/index.html">首页</a><div class="bottomLine"></div></li>
					<li class="shopTap">
						<a href="#">商店</a>
						<div class="bottomLine"></div>
						<!-- 点击商品弹出栏 -->
						<div class="navExtend">
							<div id="extendContent" class="clear">
								<div class="extendLeftZone">
									<ul class="extendRoot extendRootEx clear">
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23687.png"/>
													<a href="javascript:void(0)">
														<h5>家居</h5>
														<div class="delta"></div>
													</a>
											</div>
											
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23686.png"/>
												<a href="javascript:void(0)">
													<h5>文具</h5>
													<div class="delta"></div>
												</a>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23683.png"/>
												<a href="javascript:void(0)">
													<h5>数码</h5>
													<div class="delta"></div>
												</a>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23682.png"/>
												<a href="javascript:void(0)">
													<h5>玩乐</h5>
													<div class="delta"></div>
												</a>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23684.png"/>
												<a href="javascript:void(0)">
													<h5>餐厨</h5>
													<div class="delta"></div>
												</a>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23680.png"/>
												<a href="javascript:void(0)">
													<h5>美食</h5>
													<div class="delta"></div>
												</a>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23678.png"/>
												<a href="javascript:void(0)">
													<h5>服装</h5>
													<div class="delta"></div>
												</a>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
									</ul>
									
									<ul class="extendRoot extendRootEx clear">
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23687.png"/>
												<h5>家居</h5>
												<div class="delta"></div>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23687.png"/>
												<h5>家居</h5>
												<div class="delta"></div>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23687.png"/>
												<h5>家居</h5>
												<div class="delta"></div>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23687.png"/>
												<h5>家居</h5>
												<div class="delta"></div>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23687.png"/>
												<h5>家居</h5>
												<div class="delta"></div>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23687.png"/>
												<h5>家居</h5>
												<div class="delta"></div>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
										
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23687.png"/>
												<h5>家居</h5>
												<div class="delta"></div>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
									</ul>
									
									<ul class="extendRoot clear">
										<li>
											<div class="iconDiv">
												<img src="https://imgs-qn.iliangcang.com/ware/sowhatimg/ware/orig/2/23/23687.png"/>
												<h5>家居</h5>
												<div class="delta"></div>
											</div>
											<div class="interItemRoot">
												<span><a href="javascript:void(0)">家具</a></span>
												<span><a href="javascript:void(0)">居家日用</a></span>
												<span><a href="javascript:void(0)">装饰布件</a></span>
												<span><a href="javascript:void(0)">香熏香氛</a></span>
												<span><a href="javascript:void(0)">空气净化</a></span>
												<span><a href="javascript:void(0)">收纳整理</a></span>
												<span><a href="javascript:void(0)">床品布艺</a></span>
												<span><a href="javascript:void(0)">家庭清洁</a></span>
												<span><a href="javascript:void(0)">儿童家居</a></span>
												<span><a href="javascript:void(0)">灯具</a></span>
												<span><a href="javascript:void(0)">家用电器</a></span>
												<span><a href="javascript:void(0)">植物花器</a></span>
											</div>
										</li>
									</ul>	
													
									<div class="bottomAllBtnRoot">
										<a href="javascript:void(0)">查看所有品牌</a><span>&gt;</span>
										<a href="javascript:void(0)">最新到货</a><span>&gt;</span>
									</div>
								</div>
								
								<div class="magazineRoot">
									<a href="javascript:void(0)">
										<img src="https://image.iliangcang.com/ware/upload/orig/2/315/315574.jpg">
										<p>新视线：&nbsp;2015年7月刊</p>
									</a>
								</div>
								
							</div>
						</div>
					</li>
					<li><a href="#">杂志</a><div class="bottomLine"></div></li>
					<li><a href="#">分享</a><div class="bottomLine"></div></li>
					<li class="supermanTap"><a href="#">达人</a><div class="bottomLine"></div></li>
				</ul>
				
				<div class="searchRoot">
					<div class="inputRoot"><input type="text" placeholder="Search..."></div>
					<a href="#" id="searchBtn"></a>
				</div>
				
			</div>
			
			
		</div>
	</div>	
	`,
	
		headerJS : function(){
		
			//判断页面上下滚动
				let p=0;
			
			    let t= $(window).scrollTop();
				
				let $posRoot = $("div.posRoot");
				
				$(window).scroll(function(){
			
					p=$(this).scrollTop();
					
					if(t<p){
			
						//下滚
						if($posRoot.position().top == 0){
							
							$posRoot.stop().animate({top:-56},300);
						}
						
					}else{
			
			            //上滚        
						if($posRoot.position().top <= -56){
							
							$posRoot.stop().animate({top:0},300);
						}
			        }
			
			        setTimeout(function(){ t = p;},0)
			
			   })
			
				//搜索按钮点击
				let $inputRoot = $(".inputRoot");
				
				let ifIntputOpen = true;
				
				$inputRoot.on("click",function(e){
					
					e.stopPropagation();
				});
				
				$("#searchBtn").on("click",function(e){
					
					e.stopPropagation();
					
						if(!ifIntputOpen && $inputRoot.children()[0].value.replace(/\s*/g,"") != ""){
							
							
							return;
						}
						
						let long = ifIntputOpen ? 260 : 0;
						
						$inputRoot.stop().animate({width:long},500, function(){
							
							if($(this).width() == 260) {
								
								$(this).children("input").focus();
								
							}
						});
						
						ifIntputOpen = !ifIntputOpen;
					
				});
				
				$(document).on("click",function(){
					
					$inputRoot.stop().animate({width:0},500);
					
					ifIntputOpen = true;
					
				});
		
		},
		
		footerShopHTML : `
		
		<div class="hfWarp" id="footerShopRoot">
			<div class="hfContent">
				<a class="shopBtn" href="javascript:void(0)"><span class="shopHand"></span></a>
				<div class="shopItemsRoot">
					<dl class="shopItem1">
						<dt></dt>
						<dd>
							<h5>全球精品</h5><p>Global Selections</p>
						</dd>
					</dl>
					
					<dl class="shopItem2">
						<dt></dt>
						<dd>
							<h5>正品保证</h5><p>Authenticity Guaranteed</p>
						</dd>
					</dl>
					
					<dl class="shopItem3">
						<dt></dt>
						<dd>
							<h5>全场包邮</h5><p>Free Delivery</p>
						</dd>
					</dl>
					
					<dl class="shopItem4">
						<dt></dt>
						<dd>
							<h5></h5><p>工作日 09:00-18:00</p>
						</dd>
					</dl>
				</div>
			</div>
		</div>`,
		
		footerShopJS : function(){
			
			//使商店小手运动
			$("a.shopBtn").on("mouseenter",function(){
				
				let $hand = $(this).children(".shopHand");
				
				$hand.animate({left:-15},400);
				$hand.animate({left:0},400);
				$hand.animate({left:-15},400);
				$hand.animate({left:0},400);
				
			});
			
		},
		
		footerHTML:`<div class="hfWarp" id="footerRoot">
			<div class="hfContent">
				<div class="bottomTopRoot clear">
					<a href="javascript:void(0)" class="appBtn">
						<h4>iPhone Android</h4>
						<p>客户端下载</p>
						<div class="appDownloadRoot">
							<dl class="iPhoneDl">
								<dt></dt>
								<dd>下载iPhone版</dd>
							</dl>
							
							<dl class="AndroidDl">
								<dt></dt>
								<dd>下载Android版</dd>
							</dl>
						</div>
					</a>
					
					<ul class="shareRoot">
						<li>
							<a href="javascript:void(0)" class="wechat">
								<div class="shareWechatRoot">
									<div class="wechatCode"></div>
								</div>
							</a>
						</li>
						<li><a href="javascript:void(0)" class="weibo"></a></li>
						<li><a href="javascript:void(0)" class="dou"></a></li>
					</ul>
				</div>
				
				<ul class="bottomList">
					<li class="first"><a href="javascript:void(0)">关于良仓</a></li>
					<li><a href="javascript:void(0)">服务协议</a></li>
					<li><a href="javascript:void(0)">隐私保护政策</a></li>
					<li><a href="javascript:void(0)">使用指南</a></li>
					<li><a href="javascript:void(0)">联系我们</a></li>
					<li><a href="javascript:void(0)">加入我们</a></li>
					<li><a href="javascript:void(0)">友情链接</a></li>
					<li><a href="javascript:void(0)">私信良仓</a></li>
				</ul>
				
				<p class="bottomInfo">
					©&nbsp;2013-2019 北京良仓文化传播有限公司版权所有 京ICP备13010677号-1 京公网安备11010502025627
					  <br>&nbsp;&nbsp;公司名称：北京良仓文化传播有限公司  电话：010-58263516
					  <br>&nbsp;&nbsp;公司地址：北京朝阳区百子湾路32号6号楼1层60号.
					  <br>&nbsp;&nbsp;社会信用统一代码：91110105059231575L  食品许可证：JY11105160159557  
					  <br>&nbsp;&nbsp;图书证名称：中华人民共和国出版物经营许可证  图书证编号：新出发京零 字第 朝 150051 号
				</p>
			</div>
		</div>`
		
		
	}
	
	
})